﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Model.MetadataTypes;
namespace Model.Entities
{
    /// <summary>
    /// 实体类 软件注册信息, 此类请勿动，以方便表字段更改时重新生成覆盖
    /// </summary>
    [Serializable]
    [MetadataType(typeof(HRDS_SOFTWAREREGISTER_Metadata))]
    public partial class HRDS_SOFTWAREREGISTER
    {
        /// <summary>
        /// 创建<see cref="HRDS_SOFTWAREREGISTER"/>的实例
        /// </summary>
        public HRDS_SOFTWAREREGISTER()
        {
        }
        /// <summary>
        /// SRGUID
        /// </summary>
        public virtual string SRGUID { get; set; }

        		
        /// <summary>
        /// ????????????(??????????????????????)
        /// </summary>
        public virtual string SOFTWARENAME { get; set; }

    		
        /// <summary>
        /// ????????????(????????)
        /// </summary>
        public virtual string DISCRIPTIVENAME { get; set; }

    		
        /// <summary>
        /// ??????
        /// </summary>
        public virtual string SOFTWAREVERSION { get; set; }

    		
        /// <summary>
        /// ????????1??????2??????
        /// </summary>
        public virtual decimal SOFTWARETYPE { get; set; }

    		
        /// <summary>
        /// ????/????????
        /// </summary>
        public virtual DateTime REGISTERDATE { get; set; }

    		
        /// <summary>
        /// ????????IP
        /// </summary>
        public virtual string SOFTWAREIP { get; set; }

    		
        /// <summary>
        /// IP??????????????????????????2001??
        /// </summary>
        public virtual string IPMAPPINGID { get; set; }

    		
        /// <summary>
        /// IP????????
        /// </summary>
        public virtual string IPMAPPINGNAME { get; set; }

    		
        /// <summary>
        /// REMARKS
        /// </summary>
        public virtual string REMARKS { get; set; }

    		
        public override bool Equals(object obj)
        {
            HRDS_SOFTWAREREGISTER model = obj as HRDS_SOFTWAREREGISTER;
            return model != null && (ReferenceEquals(SRGUID,null) ? ReferenceEquals(model.SRGUID, null) : SRGUID.Equals(model.SRGUID));
        }
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();
            hash = (hash * 397) ^ (ReferenceEquals(SRGUID, null) ? 0 : SRGUID.GetHashCode());
            return hash;
        }
    }
}
